package org.larkdoc.model.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 用户信息实体(对应数据库表)
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class UserInfo implements Serializable {
    /**
     * id
     * Column : user_info.id
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 帐号
     * Column : user_info.account
     *
     * @mbggenerated
     */
    private String account;

    /**
     * 密码
     * Column : user_info.password
     *
     * @mbggenerated
     */
    private String password;

    /**
     * 姓名
     * Column : user_info.name
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 电话号码
     * Column : user_info.phone
     *
     * @mbggenerated
     */
    private String phone;

    /**
     * 电子邮箱
     * Column : user_info.email
     *
     * @mbggenerated
     */
    private String email;

    /**
     * 联系地址
     * Column : user_info.address
     *
     * @mbggenerated
     */
    private String address;

    /**
     * 头像
     * Column : user_info.headshot
     *
     * @mbggenerated
     */
    private String headshot;

    /**
     * 年龄
     * Column : user_info.age
     *
     * @mbggenerated
     */
    private Integer age;

    /**
     * 性别：0、男性，1、女性，2、其它
     * Column : user_info.gender
     *
     * @mbggenerated
     */
    private Integer gender;

    /**
     * qq-QQ
     * Column : user_info.qq
     *
     * @mbggenerated
     */
    private String qq;

    /**
     * 用户类型
     * Column : user_info.user_type
     *
     * @mbggenerated
     */
    private Integer userType;

    /**
     * 是否锁定：0：非锁定，1：锁定
     * Column : user_info.is_locked
     *
     * @mbggenerated
     */
    private Integer isLocked;

    /**
     * 锁定时间
     * Column : user_info.locked_time
     *
     * @mbggenerated
     */
    private Date lockedTime;

    /**
     * 创建者
     * Column : user_info.creator
     *
     * @mbggenerated
     */
    private String creator;

    /**
     * 最后登录时间
     * Column : user_info.last_login_time
     *
     * @mbggenerated
     */
    private Date lastLoginTime;

    /**
     * 最后登录IP
     * Column : user_info.last_login_ip
     *
     * @mbggenerated
     */
    private String lastLoginIp;

    /**
     * 配置所属的应用系统
     * Column : user_info.app_system
     *
     * @mbggenerated
     */
    private String appSystem;

    /**
     * 登录token
     * Column : user_info.login_token
     *
     * @mbggenerated
     */
    private String loginToken;

    /**
     * 数据状态-数据是否有效：0：无效,1：有效
     * Column : user_info.is_valid
     *
     * @mbggenerated
     */
    private Integer isValid;

    /**
     * 创建时间
     * Column : user_info.create_time
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 更新时间
     * Column : user_info.update_time
     *
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * 备注信息
     * Column : user_info.remark
     *
     * @mbggenerated
     */
    private String remark;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user_info
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * Returns : id
     *
     * @return the value of user_info.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets : id
     *
     * @param id the value for user_info.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * Returns : 帐号
     *
     * @return the value of user_info.account
     *
     * @mbggenerated
     */
    public String getAccount() {
        return account;
    }

    /**
     * This method sets : 帐号
     *
     * @param account the value for user_info.account
     *
     * @mbggenerated
     */
    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    /**
     * Returns : 密码
     *
     * @return the value of user_info.password
     *
     * @mbggenerated
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method sets : 密码
     *
     * @param password the value for user_info.password
     *
     * @mbggenerated
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * Returns : 姓名
     *
     * @return the value of user_info.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method sets : 姓名
     *
     * @param name the value for user_info.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * Returns : 电话号码
     *
     * @return the value of user_info.phone
     *
     * @mbggenerated
     */
    public String getPhone() {
        return phone;
    }

    /**
     * This method sets : 电话号码
     *
     * @param phone the value for user_info.phone
     *
     * @mbggenerated
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * Returns : 电子邮箱
     *
     * @return the value of user_info.email
     *
     * @mbggenerated
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method sets : 电子邮箱
     *
     * @param email the value for user_info.email
     *
     * @mbggenerated
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * Returns : 联系地址
     *
     * @return the value of user_info.address
     *
     * @mbggenerated
     */
    public String getAddress() {
        return address;
    }

    /**
     * This method sets : 联系地址
     *
     * @param address the value for user_info.address
     *
     * @mbggenerated
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * Returns : 头像
     *
     * @return the value of user_info.headshot
     *
     * @mbggenerated
     */
    public String getHeadshot() {
        return headshot;
    }

    /**
     * This method sets : 头像
     *
     * @param headshot the value for user_info.headshot
     *
     * @mbggenerated
     */
    public void setHeadshot(String headshot) {
        this.headshot = headshot == null ? null : headshot.trim();
    }

    /**
     * Returns : 年龄
     *
     * @return the value of user_info.age
     *
     * @mbggenerated
     */
    public Integer getAge() {
        return age;
    }

    /**
     * This method sets : 年龄
     *
     * @param age the value for user_info.age
     *
     * @mbggenerated
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * Returns : 性别：0、男性，1、女性，2、其它
     *
     * @return the value of user_info.gender
     *
     * @mbggenerated
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * This method sets : 性别：0、男性，1、女性，2、其它
     *
     * @param gender the value for user_info.gender
     *
     * @mbggenerated
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * Returns : qq-QQ
     *
     * @return the value of user_info.qq
     *
     * @mbggenerated
     */
    public String getQq() {
        return qq;
    }

    /**
     * This method sets : qq-QQ
     *
     * @param qq the value for user_info.qq
     *
     * @mbggenerated
     */
    public void setQq(String qq) {
        this.qq = qq == null ? null : qq.trim();
    }

    /**
     * Returns : 用户类型
     *
     * @return the value of user_info.user_type
     *
     * @mbggenerated
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * This method sets : 用户类型
     *
     * @param userType the value for user_info.user_type
     *
     * @mbggenerated
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /**
     * Returns : 是否锁定：0：非锁定，1：锁定
     *
     * @return the value of user_info.is_locked
     *
     * @mbggenerated
     */
    public Integer getIsLocked() {
        return isLocked;
    }

    /**
     * This method sets : 是否锁定：0：非锁定，1：锁定
     *
     * @param isLocked the value for user_info.is_locked
     *
     * @mbggenerated
     */
    public void setIsLocked(Integer isLocked) {
        this.isLocked = isLocked;
    }

    /**
     * Returns : 锁定时间
     *
     * @return the value of user_info.locked_time
     *
     * @mbggenerated
     */
    public Date getLockedTime() {
        return lockedTime;
    }

    /**
     * This method sets : 锁定时间
     *
     * @param lockedTime the value for user_info.locked_time
     *
     * @mbggenerated
     */
    public void setLockedTime(Date lockedTime) {
        this.lockedTime = lockedTime;
    }

    /**
     * Returns : 创建者
     *
     * @return the value of user_info.creator
     *
     * @mbggenerated
     */
    public String getCreator() {
        return creator;
    }

    /**
     * This method sets : 创建者
     *
     * @param creator the value for user_info.creator
     *
     * @mbggenerated
     */
    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    /**
     * Returns : 最后登录时间
     *
     * @return the value of user_info.last_login_time
     *
     * @mbggenerated
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * This method sets : 最后登录时间
     *
     * @param lastLoginTime the value for user_info.last_login_time
     *
     * @mbggenerated
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * Returns : 最后登录IP
     *
     * @return the value of user_info.last_login_ip
     *
     * @mbggenerated
     */
    public String getLastLoginIp() {
        return lastLoginIp;
    }

    /**
     * This method sets : 最后登录IP
     *
     * @param lastLoginIp the value for user_info.last_login_ip
     *
     * @mbggenerated
     */
    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
    }

    /**
     * Returns : 配置所属的应用系统
     *
     * @return the value of user_info.app_system
     *
     * @mbggenerated
     */
    public String getAppSystem() {
        return appSystem;
    }

    /**
     * This method sets : 配置所属的应用系统
     *
     * @param appSystem the value for user_info.app_system
     *
     * @mbggenerated
     */
    public void setAppSystem(String appSystem) {
        this.appSystem = appSystem == null ? null : appSystem.trim();
    }

    /**
     * Returns : 登录token
     *
     * @return the value of user_info.login_token
     *
     * @mbggenerated
     */
    public String getLoginToken() {
        return loginToken;
    }

    /**
     * This method sets : 登录token
     *
     * @param loginToken the value for user_info.login_token
     *
     * @mbggenerated
     */
    public void setLoginToken(String loginToken) {
        this.loginToken = loginToken == null ? null : loginToken.trim();
    }

    /**
     * Returns : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @return the value of user_info.is_valid
     *
     * @mbggenerated
     */
    public Integer getIsValid() {
        return isValid;
    }

    /**
     * This method sets : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @param isValid the value for user_info.is_valid
     *
     * @mbggenerated
     */
    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    /**
     * Returns : 创建时间
     *
     * @return the value of user_info.create_time
     *
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets : 创建时间
     *
     * @param createTime the value for user_info.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * Returns : 更新时间
     *
     * @return the value of user_info.update_time
     *
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method sets : 更新时间
     *
     * @param updateTime the value for user_info.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * Returns : 备注信息
     *
     * @return the value of user_info.remark
     *
     * @mbggenerated
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets : 备注信息
     *
     * @param remark the value for user_info.remark
     *
     * @mbggenerated
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_info
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", account=").append(account);
        sb.append(", password=").append(password);
        sb.append(", name=").append(name);
        sb.append(", phone=").append(phone);
        sb.append(", email=").append(email);
        sb.append(", address=").append(address);
        sb.append(", headshot=").append(headshot);
        sb.append(", age=").append(age);
        sb.append(", gender=").append(gender);
        sb.append(", qq=").append(qq);
        sb.append(", userType=").append(userType);
        sb.append(", isLocked=").append(isLocked);
        sb.append(", lockedTime=").append(lockedTime);
        sb.append(", creator=").append(creator);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", lastLoginIp=").append(lastLoginIp);
        sb.append(", appSystem=").append(appSystem);
        sb.append(", loginToken=").append(loginToken);
        sb.append(", isValid=").append(isValid);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}